using System;
using System.Collections.Generic;

namespace ClassLibrary1.Models
{
    public class Bs_Department
    {
        public Bs_Department()
        {
            this.Bs_UserInfo = new List<Bs_UserInfo>();
        }

        public int DId { get; set; }
        public string DName { get; set; }
        public string DTel { get; set; }
        public string DFax { get; set; }
        public Nullable<int> DParentID { get; set; }
        public Nullable<int> DCompanyId { get; set; }
        public Nullable<int> DManagerId { get; set; }
        public string DFunction { get; set; }
        public Nullable<bool> DFlag { get; set; }
        public Nullable<int> DSortNo { get; set; }
        public string DMemo { get; set; }
        public virtual Bs_Company Bs_Company { get; set; }
        public virtual ICollection<Bs_UserInfo> Bs_UserInfo { get; set; }
    }
}
